//
//  ToolOfBasic.m
//  shusheng
//
//  Created by rimi on 16/7/9.
//  Copyright © 2016年 yuying. All rights reserved.
//

#import "ToolOfBasic.h"

@implementation ToolOfBasic

+(NSString *)nowTime{
    NSDate * senddate=[NSDate date];
    NSDateFormatter *dateformatter=[[NSDateFormatter alloc] init];
    [dateformatter setDateFormat:@"YYYY-MM-dd~HH:mm:ss"];
    NSString * morelocationString=[dateformatter stringFromDate:senddate];
    NSLog(@"%@",morelocationString);
    
    return morelocationString;
}
@end
